package com.homwork.Test;

public class test2 {
    public static void main(String[] args) {
        Person1 p = new Person1() {

            @Override
            public void show() {
                System.out.println("学生也是人。。。。。");
            }
        };
    }
}
abstract class Person1 {
    public abstract void show();  //抽象方法
}
